home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-07-15 | 816 b | 22 lines | [TEXT/KAHL] |
-
- Application: MyDeviceLoop
-
- Description: This snippet shows how to write a device loop that
- works under System 7 and pre-7.0 systems. As
- described on pages 21-23 and 21-24 of Inside Mac
- volume VI, a device loop procedure searches all
- active screen devices, calling a drawing procedure
- whenever it encounters a screen that intersects
- the drawing region. In this app the drawing
- region is the app's window bounds and the chosen
- drawing procedure simply displays the screen's
- colors for every device the window bounds intersect.
- */
- Files: MyDeviceLoop.π
- MyDeviceLoop.c
-
- Programmer: Edgar Lee
- Organization: Apple Computer, Inc.
- Department: Developer Technical Support, DTS
- Language: C (Think C version 5.0.1)
- Date Created: 02-21-92